
import {createRouter,createWebHashHistory}  from 'vue-router';

import LoginView from '../Views/LoginView.vue';
import TitleView from '../Views/TitleView.vue';

const router=createRouter({
    history:createWebHashHistory(),
    routes:[
      {
        path:'/',
        redirect:'/login'
      },
      {
        path:'/login',
        component:LoginView
      },
      {
        path:'/dem',
        component:TitleView
      }
    ]

})

export default router